/*
 * Status.java
 *
 * Created on 7 październik 2007, 18:51
 *
 */

package kosciak.blip4j;

import java.util.Date;
import java.util.List;

/**
 * <CODE>Status</CODE> object represents a status in Blip.pl
 * @author Wojtek 'KosciaK' Pietrzok
 * @since 0.1
 */
public abstract class Status extends Update{
    
    /**
     * Creates an instance of Status
     * @param id an Id of a Status
     * @param body a body od a Status
     * @param date a Date of a Status
     * @param from a User who sent a Status
     * @param transport a Transport of a Status
     * @param pictures a List of Pictures attached to a Status
     */
    protected Status(int id, 
                     String body, 
                     Date date, 
                     User from, 
                     Transport transport,
                     List<Picture> pictures) {
        
        super(id, body, date, UpdateType.Status, from, transport, pictures);
        
    }
    
    @Override
    public String toString() {
        return "" + getFrom() + ": " + getBody();
    }

}
